﻿using System;
using KingsSharp.Core.Data;

namespace CRM.Admin.Contracts.Dto.Sys
{
    public class AuthorizationDto : IAddDto, IEditDto<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 菜单id
        /// </summary>
        public Guid MenuNodeId { get; set; }

        /// <summary>
        /// 菜单功能权限列表，多功能以","进行分割
        /// </summary>
        public string ActionCodes { get; set; }

        /// <summary>
        /// 角色外键
        /// </summary>
        public Guid RoleId { get; set; }
    }
}
